package com.wx.resume_excel.model;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * 求职者的实体类以及对应excel的模板
 * @Auther 田艺鹏
 * @DateTime 2020-07-30 14:05
 */
@Data
@Builder
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class JobSeeker extends BaseRowModel {
    @ExcelIgnore
    private int id;
    @ExcelProperty(value = "姓名",index = 0)
    private String name;                //姓名
    @ExcelProperty(value = "标签",index = 1)
    private String label;               //标签
    @ExcelProperty(value = "匹配度",index = 2)
    private String matchingDegree;      //匹配度
    @ExcelProperty(value = "简历标号",index = 3)
    private String resumeNo;           //简历编号
    @ExcelProperty(value = "应聘职位",index = 4)
    private String positionApplied;     //应聘职位
    @ExcelProperty(value = "应聘公司",index = 5)
    private String company;             //应聘公司
    @ExcelProperty(value = "发布城市",index = 6)
    private String city;                //发布城市
    @ExcelProperty(value = "应聘日期",index = 7)
    private String applicationDate;     //应聘日期——发布简历的日期 format：yyyy-MM-dd
    @ExcelProperty(value = "性别",index = 8)
    private String gender;             //性别 0——男，1——女
    @ExcelProperty(value = "出生日期",index = 9)
    private String birthday;            //出生日期 format: yyyy-MM
    @ExcelProperty(value = "当前居住地",index = 10)
    private String liveAddress;         //当前居住地
    @ExcelProperty(value = "户口/国籍",index = 11)
    private String registeredResidence; //户口/国籍
    @ExcelProperty(value = "工作年限",index = 12)
    private String workingYears;        //工作年限
    @ExcelProperty(value = "学历",index = 13)
    private String education;           //学历
    @ExcelProperty(value = "毕业院校",index = 14)
    private String school;              //毕业院校
    @ExcelProperty(value = "专业",index = 15)
    private String major;               //专业
    @ExcelProperty(value = "联系电话",index = 16)
    private String callPhone;           //联系电话
    @ExcelProperty(value = "电子邮箱",index = 17)
    private String email;               //电子邮箱
    @ExcelProperty(value = "地址",index = 18)
    private String address;             //地址
    @ExcelProperty(value = "邮编",index = 19)
    private String postCode;            //邮编
    @ExcelProperty(value = "最近一家公司",index = 20)
    private String lastCompany;         //最近一家公司
    @ExcelProperty(value = "最近一个职位",index = 21)
    private String lastApplied;         //最近一个职位
    @ExcelProperty(value = "年收入",index = 22)
    private String annualIncome;        //年收入
    @ExcelProperty(value = "期望薪资",index = 23)
    private String wishIncome;          //期望薪资  format：xxxx-xxxx
    @ExcelProperty(value = "求职状态",index = 24)
    private String status;             //求职状态 0:正在找工作；1：观望，有好机会会考虑


    public JobSeeker ( String s,String s1,String s2,String s3,String s4,String s5,String s6,String s7,String s8,String s9,String s10,String s11,String s12,String s13,String s14,String s15,String s16,String s17,String s18,String s19,String s20,String s21,String s22,String s23,String s24 ) {
    }
}
